package com.example.web.helper;

import com.example.web.template.CheckTaskModel;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * <p>
 *
 * </p>
 *
 * @author 12071
 * @date 2022/8/15 14:15
 */
@Component
public class CheckTaskHelper implements InitializingBean {

    // TODO: 2022/8/15 登录/鉴权服务类

//    @Resource
//    private AuthHandler authHandler;

    private static CheckTaskHelper instance;

    @Override
    public void afterPropertiesSet() {
        instance = this;
    }

    public static CheckTaskHelper INSTANCE() {
        return instance;
    }

    public void doCheck(CheckTaskModel model) {
        // TODO: 2022/8/15 登录/鉴权
//        authHandler.execute(model);
    }
}
